all: static_boost shared_boost

static_boost: main.cpp
	g++ main.cpp $(CXXFLAGS) $(LDFLAGS) -l:libboost_regex.a -o static_boost

shared_boost: main.cpp
	g++ main.cpp $(CXXFLAGS) $(LDFLAGS) -lboost_regex -o shared_boost

clean:
	rm *_boost

